MetaModels\Item::isAttributeSet PHP Method

isAttributeSet() public method

Check if the given attribute is set. This mean if in the data array is the filed set or not. If the attribute is not loaded the function will return false.
public isAttributeSet ( string $strAttributeName ) : boolean
$strAttributeName string The desired attribute.
return boolean True means the data is set, on load of the item or at any time. False means the attribute is not set.
    public function isAttributeSet($strAttributeName)
    {
        return array_key_exists($strAttributeName, $this->arrData);
    }