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