def is_laptop():
    """
    is_laptop():

    Returns whether or not the machines is a laptop
    """

    return True if get_model().lower() in 'book' else False
dataset/ETHPy150Open facebook/IT-CPE/code/lib/modules/sys_tools.py/is_laptop/swapped operands of `in`