<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def contains_adaptor(read, adaptor):
 """ Check whether this sequence contains adaptor contamination. If it exists, we assume it's in the 3' end. This function requires 8 out of 10 of the first bases in the adaptor sequence to match for an occurrence to be reported. :param adaptor: sequence to look for. We only use first 10 bases; must be a full Sequence object, not just string. :return: True if there is an occurence of <adaptor>, False otherwise """

  origSeq = read.sequenceData
  clip_adaptor(read, adaptor)
  res = False
  if read.sequenceData != origSeq:
    res = True
  read.sequenceData = origSeq
  return res