def is_locked(lock_num=0):
    """Checks for the given lock.

    .. note:: Lock 0 is always available.

    :param int lock_num: Lock number.

    :rtype: bool

    :raises ValueError: For Spooler or invalid lock number
    """
    return False
