code: private boolean isActivityMatching(Class<? extends Activity> activityClass, Activity currentActivity){
  		if(currentActivity != null && currentActivity.getClass().equals(activityClass)) {
  			return true;
  		}
  		return false;
  	}
docs: Compares Activity classes.
  
  @param activityClass the Activity class to compare
  @param currentActivity the Activity that is currently active
  
  @return true if Activity classes match