code: boolean isOptional(TypeMirror mirror) {
          return typeUtils.erasure(mirror).toString().equals(Optional.class.getName());
      }
docs: Is the given type mirror an optional.
  
  @param mirror The mirror
  @return True if it is