class Solution:
    def checkIfExist(self, arr: List[int]) -> bool:
        for i in range(len(arr)):
            for j in range(i+1, len(arr)):
                if arr[i]*2 == arr[j] or arr[i] == arr[j]*2:
                    return True
        return False

class Solution:
    def checkIfExist(self, arr: List[int]) -> bool:
        for i in range(len(arr)):
            for j in range(i+1, len(arr)):
                if arr[i]*2 == arr[j] or arr[i] == arr[j]*2:
                    return True
        return False
