BOOL isDiplayed working correctly