<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def check_symmetry(A):
 """Check if ``A`` is a symmetric matrix. Args: A (array_like):
 Matrix. Returns: bool: ``True`` if ``A`` is symmetric; ``False`` otherwise. """

    A = asanyarray(A)
    if A.ndim != 2:
        raise ValueError("Checks symmetry only for bi-dimensional arrays.")

    if A.shape[0] != A.shape[1]:
        return False

    return abs(A - A.T).max() < sqrt(finfo(float).eps)