public static bool IsExistGhost(int quadrantX, int quadrantY) { return(Convert.ToBoolean(Ghosts.FirstOrDefault(g => g.PositionQuadrantX == quadrantX && g.PositionQuadrantY == quadrantY))); }