protected function isContainMultipleAnswers(array $fields)
    {
        $filtered = array_filter($fields, function ($field) {
            return $field->isMultipleAnswers();
        });

        return count($filtered) > 0;
    }
protected function isContainMultipleAnswers(array $fields)
    {
        $filtered = array_filter($fields, function ($field) {
            return $field->isMultipleAnswers();
        });

        return count($filtered) > 0;
    }
protected function isContainMultipleAnswers ( array $ fields ) { $ filtered = array_filter ( $ fields , function ( $ field ) { return $ field -> isMultipleAnswers ( ) ; } ) ; return count ( $ filtered ) > 0 ; }
Checks if a given fields array conatins at least one multiple answers' field.

@param array

@return bool
Checks if a given fields array conatins at least one multiple answers field .