hasSubsequence