The owner of any estate in a dominant tenement, or the occupant of such tenement, may maintain an action for the enforcement of an easement attached thereto.