define isNumberic function