code: public static boolean arrayElementsAreNull(String[] uncontainedArray) {
          boolean empty = true;
          for (Object ob : uncontainedArray) {
              if (ob != null) {
                  empty = false;
                  break;
              }
          }
          return empty;
      }
docs: This method check if all elements of an array are null.
  
  @param uncontainedArray element in array
  @return any element that is found to be empty