def check_valid_sports_naming(pattern=None):
 if (pattern is None):
  pattern = sickbeard.NAMING_PATTERN
 logger.log(((u'Checking whether the pattern ' + pattern) + u' is valid for an sports episode'), logger.DEBUG)
 valid = validate_name(pattern, sports=True)
 return valid

def check_valid_sports_naming ( pattern = None ) : if ( pattern is None ) : pattern = sickbeard . NAMING_PATTERN logger . log ( ( ( u'Checking whether the pattern ' + pattern ) + u' is valid for an sports episode' ) , logger . DEBUG ) valid = validate_name ( pattern , sports = True ) return valid
checks if the name is can be parsed back to its original form for an sports format .