has_apartment? before action in job, task, main