def __contains__(self, args):
    '[summary]This method tests if an element (args) is inside the ball\n\n        Args:\n            args ([numpy array list]): [the element to test]\n\n        Returns:\n            [bool]: [True if the element is inside the ball , False if not]\n        '
    flag = True
    if (len(args) != self.dim):
        return False
    elif (np.linalg.norm((args - self.center)) <= self.rad):
        flag = True
    return flag
[summary]This method tests if an element (args) is inside the ball

Args:
    args ([numpy array list]): [the element to test]

Returns:
    [bool]: [True if the element is inside the ball , False if not]
def __contains__(self, args):
    '[summary]This method tests if an element (args) is inside the ball\n\n        Args:\n            args ([numpy array list]): [the element to test]\n\n        Returns:\n            [bool]: [True if the element is inside the ball , False if not]\n        '
    flag = True
    if (len(args) != self.dim):
        return False
    elif (np.linalg.norm((args - self.center)) <= self.rad):
        flag = True
    return flag