Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __init__(self, bic, allow_invalid=False):
super(BIC, self).__init__(bic)
if not allow_invalid:
self.validate()