final protected function _validate(AnCommandContext $context)
    {
        foreach ($this as $filter) {
            if ($filter->execute('validate', $context) === false) {
                return false;
            }
        }

        return true;
    }
final protected function _validate(AnCommandContext $context)
    {
        foreach ($this as $filter) {
            if ($filter->execute('validate', $context) === false) {
                return false;
            }
        }

        return true;
    }
final protected function _validate ( AnCommandContext $ context ) { foreach ( $ this as $ filter ) { if ( $ filter -> execute ( 'validate' , $ context ) === false ) { return false ; } } return true ; }
Validate the data

@param   scalar  Value to be validated
@return  bool    True when the data is valid
Validate the data