Added new FT for is_displayed and added helper function to find errors