public boolean containsInstruction(InstructionHandle handle){
  Iterator<InstructionHandle> i=instructionIterator();
  while (i.hasNext()) {
    if (i.next() == handle) {
      return true;
    }
  }
  return false;
}

public boolean containsInstruction ( InstructionHandle handle ) { Iterator < InstructionHandle > i = instructionIterator ( ) ; while ( i . hasNext ( ) ) { if ( i . next ( ) == handle ) { return true ; } } return false ; }
return whether or not the basic block contains the given instruction .
