Human: boolean condition for numpy matrix. Assistant: 
Here is a Python program to create a boolean condition for numpy matrix

import numpy as np

def _is_numpy_matrix(x):
    """
    Check if x is a numpy matrix.
    """
    return isinstance(x, np.ndarray)

# Enter the numpy matrix
matrix = np.array([[1, 2], [3, 4]])

# Calling the function
print((_is_numpy_matrix(matrix)))

#Example Output
# True

#Remember to inspect code for bugs.