public function isInclude($fieldName)
    {
        if ($this->hasField($fieldName) === false) {
            return false;
        }

        $class = __CLASS__;

        return ($this->mapping[$fieldName]['include'] instanceof $class);
    }
public function isInclude($fieldName)
    {
        if ($this->hasField($fieldName) === false) {
            return false;
        }

        $class = __CLASS__;

        return ($this->mapping[$fieldName]['include'] instanceof $class);
    }
public function isInclude ( $ fieldName ) { if ( $ this -> hasField ( $ fieldName ) === false ) { return false ; } $ class = __CLASS__ ; return ( $ this -> mapping [ $ fieldName ] [ 'include' ] instanceof $ class ) ; }
Check if the given fieldName is an include

@param  string $fieldName

@return bool TRUE on include | FALSE when field does not exists or field is not a include
Check if the given fieldName is an include