def _invalid_frequency(self, frequency):
        """
        Check to see that frequency was specified correctly
        :param frequency (string): frequency string
        :return (boolean):
        """
        is_valid = self._is_eod_frequency(frequency) or re.match(self._frequency_pattern, frequency)
        return not is_valid
def _invalid_frequency(self, frequency):
        """
        Check to see that frequency was specified correctly
        :param frequency (string): frequency string
        :return (boolean):
        """
        is_valid = self._is_eod_frequency(frequency) or re.match(self._frequency_pattern, frequency)
        return not is_valid
def _invalid_frequency ( self , frequency ) : is_valid = self . _is_eod_frequency ( frequency ) or re . match ( self . _frequency_pattern , frequency ) return not is_valid
Check to see that frequency was specified correctly
        :param frequency (string): frequency string
        :return (boolean):
Check to see that frequency was specified correctly : param frequency ( string ) : frequency string : return ( boolean ) :