@staticmethod<EOL><INDENT>def _try_read_property(window, property_name: str):<DEDENT>
try:<EOL><INDENT>return window.get_property(property_name, <NUM_LIT:0>, <NUM_LIT:0>, <NUM_LIT:255>)<EOL><DEDENT>except error.BadAtom:<EOL><INDENT>return None<EOL><DEDENT>
Try to read the given property of the given window.
Returns the atom, if successful, None otherwise.