src/Charcoal/Source/ExpressionFieldTrait.php
public function hasFields()
    {
        if ($this->hasProperty()) {
            $property = $this->property();
            if ($property instanceof StorablePropertyInterface) {
                return (count($property->fieldNames()) > 0);
            } else {
                return true;
            }
        }

        return false;
    }
public function hasFields()
    {
        if ($this->hasProperty()) {
            $property = $this->property();
            if ($property instanceof StorablePropertyInterface) {
                return (count($property->fieldNames()) > 0);
            } else {
                return true;
            }
        }

        return false;
    }
public function hasFields ( ) { if ( $ this -> hasProperty ( ) ) { $ property = $ this -> property ( ) ; if ( $ property instanceof StorablePropertyInterface ) { return ( count ( $ property -> fieldNames ( ) ) > 0 ) ; } else { return true ; } } return false ; }
Determine if the model property has any fields.

@return boolean
Determine if the model property has any fields .