public function hasField($objectName, $fieldName)
    {
        $field = $this->getField($objectName, $fieldName);

        return is_array($field);
    }
public function hasField($objectName, $fieldName)
    {
        $field = $this->getField($objectName, $fieldName);

        return is_array($field);
    }
public function hasField ( $ objectName , $ fieldName ) { $ field = $ this -> getField ( $ objectName , $ fieldName ) ; return is_array ( $ field ) ; }
Returns true when the configuration of an object contains the specified field name.

@param string $objectName
@param string $fieldName

@return bool
Returns true when the configuration of an object contains the specified field name .