def check_listening_port(port=<NUM_LIT>, process_name="<STR_LIT>"):
if port not in get_listening_ports(process_name):<EOL><INDENT>fail("<STR_LIT>" % port)<EOL><DEDENT>
CHECK if process (default=apache2) is running and listening on port 80