Make is_displayed a regular function instead of a property