def alltrue (a, axis=None, out=None, keepdims=False):
arr = asanyarray(a)<EOL>try:<EOL><INDENT>return arr.all(axis=axis, out=out, keepdims=keepdims)<EOL><DEDENT>except TypeError:<EOL><INDENT>return arr.all(axis=axis, out=out)<EOL><DEDENT>
Check if all elements of input array are true.

See Also
--------
numpy.all : Equivalent function; see for details.