title: How to check if a value is of a NumPy type?
body: <p>Imagine you have a value that might or might not be one of the NumPy dtypes. How would you write a function that checks which is the case?</p>
  
  <pre><code>def is_numpy(value):
      # how to code?
  </code></pre>