private static boolean isInFragment(Instruction instruction, GrStatement first, GrStatement last) {
    final PsiElement element = instruction.getElement();
    if (element == null) return false;
    return isInFragment(first, last, element);
  }
private static boolean isInFragment(Instruction instruction, GrStatement first, GrStatement last)