private function checkMessage($defMsg, array $options) {
        if (is_array($options) && isset($options['message']))
            return $options['message'] ? $options['message'] : null;

        return $defMsg;
    }
private function checkMessage($defMsg, array $options) {
        if (is_array($options) && isset($options['message']))
            return $options['message'] ? $options['message'] : null;

        return $defMsg;
    }
private function checkMessage ( $ defMsg , array $ options ) { if ( is_array ( $ options ) && isset ( $ options [ 'message' ] ) ) return $ options [ 'message' ] ? $ options [ 'message' ] : null ; return $ defMsg ; }
Checks if a custom message exists or returns the default
@param string $defMsg Default message of the filter
@param array $options Element filter Options
@return string
Checks if a custom message exists or returns the default