<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def is_number(obj):
 """Check if obj is number."""

    return isinstance(obj, (int, float, np.int_, np.float_))