code: @TargetApi(Build.VERSION_CODES.KITKAT)
      public static boolean hasStepCounterSensorFeature(PackageManager manager) {
          return manager.hasSystemFeature(PackageManager.FEATURE_SENSOR_STEP_COUNTER);
      }
docs: Checks if the device has a step counter sensor.
  @param manager the package manager.
  @return {@code true} if the device has a step counter sensor.