Check if field has relation