rewrite `is_number?` String core extension method