Meta interview question

Given a string, return true/false if it's a valid number