isFlg c (x:y:ys) = if x == c && y /= ':'
                      then True
                      else isFlg c (y:ys)
isFlg c (x:y:ys) = if x == c && y /= ':'
                      then True
                      else isFlg c (y:ys)
isFlg c (x:y:ys) = if x == c && y /= ':'
                      then True
                      else isFlg c (y:ys)