code: @TargetApi(Build.VERSION_CODES.JELLY_BEAN)
      public static boolean hasTelevisionFeature(PackageManager manager) {
          return manager.hasSystemFeature(PackageManager.FEATURE_TELEVISION);
      }
docs: Checks if the device has a television.
  @param manager the package manager.
  @return {@code true} if the device has a television.