public bool HasDirections(MazePoint p, Direction d) { var baseResult = _model.HasDirections(p, d); if (baseResult) { return(!_flagParser.FlagHasDirections(GetPoint(p).Directions, d)); } return(false); }