def _is_include_directive(entry):
 return (isinstance(entry, list) and (len(entry) == 2) and (entry[0] == 'include') and isinstance(entry[1], str))

def _is_include_directive ( entry ) : return ( isinstance ( entry , list ) and ( len ( entry ) == 2 ) and ( entry [ 0 ] == 'include' ) and isinstance ( entry [ 1 ] , str ) )
checks if an nginx parsed entry is an include directive .