title: Check whether a string is parsable into Long without try-catch?
body: <p><code>Long.parseLong("string")</code> throws an error if string is not parsable into long.
  Is there a way to validate the string faster than using <code>try-catch</code>?
  Thanks</p>