<doocs>1346.Check If N and Its Double Exist_1.py
def checkIfExist( arr: List[int]) -> bool:
    m = {v: i for i, v in enumerate(arr)}
    return any(v << 1 in m and m[v << 1] != i for i, v in enumerate(arr))
def sample_funcname ( var_0 : List [ int ] ) -> bool :
    var_7 = { var_4 : var_5 for var_5 , var_4 in enumerate ( var_0 ) }
    return any ( var_4 << 1 in var_7 and var_7 [ var_4 << 1 ] != var_5 for var_5 , var_4 in enumerate ( var_0 ) )
