code: private boolean startsWithAFilteredPAttern(String string)
      {
          Iterator<String> iterator = filteredFrames.iterator();
          while (iterator.hasNext())
          {
              if (string.trim().startsWith(iterator.next()))
              {
                  return true;
              }
          }
          return false;
      }
docs: Check if the given string starts with any of the filtered patterns.
  @param string checked String
  @return <code>true</code> if the begininning of the string matches a filtered pattern, <code>false</code>
  otherwise