Returns true (1) if <data> is a phone number, else false (0).
This functions uses a number of rules to test if a text string can be accepted as a phone number.
Can be used to test contents before entering data into for example NetSuite phone fields.