add hasRelationMethod to Eloquent