human
check if array contains integer.
assistant
Here is a Python function to check if an array contains integers

import numpy as np

def is_integer(array):
    """Returns True if array contains integer."""
    return all(isinstance(x, int) for x in array)

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

# Calling the function
print((is_integer(array)))

#Example Output
# False

#Remember to inspect code for bugs.