<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def is_ssh_available(host, port=22):
 """ checks if ssh port is open """

    s = socket.socket()
    try:
        s.connect((host, port))
        return True
    except:
        return False