Return false instead of throwing an error when a non-String input is passed

Return false instead of throwing an error when a non-String input is passed to isValid or isValidBBAN.
Fixes #5