private static function graphNodeFieldIsWhiteListed($key)
    {
        $model_name = get_class(new static());
        if (!property_exists($model_name, 'graph_node_fillable_fields')) {
            return true;
        }

        return in_array($key, static::$graph_node_fillable_fields);
    }
private static function graphNodeFieldIsWhiteListed($key)
    {
        $model_name = get_class(new static());
        if (!property_exists($model_name, 'graph_node_fillable_fields')) {
            return true;
        }

        return in_array($key, static::$graph_node_fillable_fields);
    }
private static function graphNodeFieldIsWhiteListed ( $ key ) { $ model_name = get_class ( new static ( ) ) ; if ( ! property_exists ( $ model_name , 'graph_node_fillable_fields' ) ) { return true ; } return in_array ( $ key , static :: $ graph_node_fillable_fields ) ; }
Check a key for fillableness

@param string $key
@return boolean
Check a key for fillableness