human
Give me a Python function to return true if any true in array returns true.
assistant
Here is a Python function to return true if any true in array returns true

import numpy as np

def any_true(array):
    """If any true in array return true."""
    return any(array)

# Enter the array
array = np.array([True, False, True, True])

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

#Example Output
# True

#Remember to inspect code for bugs.