original_string: private function validate_helper_input( $helper ) {
  		if ( ! is_array( $helper ) || empty( $helper ) ) {
  			return false;
  		}
  
  		if ( !  isset( $helper[ 'name' ] ) || ! isset( $helper[ 'class' ]  ) ) {
  			return false;
  		}
  
  		//if not set, set callback name to "helper"
  		if ( ! isset( $helper[ 'callback' ] ) ) {
  			$helper[ 'callback' ] = 'helper';
  		}
  
  		return $helper;
  
  	}
code: private function validate_helper_input( $helper ) {
  		if ( ! is_array( $helper ) || empty( $helper ) ) {
  			return false;
  		}
  
  		if ( !  isset( $helper[ 'name' ] ) || ! isset( $helper[ 'class' ]  ) ) {
  			return false;
  		}
  
  		//if not set, set callback name to "helper"
  		if ( ! isset( $helper[ 'callback' ] ) ) {
  			$helper[ 'callback' ] = 'helper';
  		}
  
  		return $helper;
  
  	}
code_tokens: private function validate_helper_input ( $ helper ) { if ( ! is_array ( $ helper ) || empty ( $ helper ) ) { return false ; } if ( ! isset ( $ helper [ 'name' ] ) || ! isset ( $ helper [ 'class' ] ) ) { return false ; } //if not set, set callback name to "helper" if ( ! isset ( $ helper [ 'callback' ] ) ) { $ helper [ 'callback' ] = 'helper' ; } return $ helper ; }
docstring: Make sure each helper passed in is valid.
  
  @todo ensure helper class/callback are callable. Preferably, without creating object of the class.
  
  @param array $helper Array to add helper with.
  
  @return bool|array Returns the array if valid, false if not.
docstring_tokens: Make sure each helper passed in is valid .