Checks if the given field is a mapped property for this class.
string $fieldName:
boolean
Overrides ClassMetadata::hasField
public function hasField($fieldName) { return in_array($fieldName, array( 'id', 'name', )); }