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

        return $defMsg;
    }