public static function containsStep($pitches, $step) {
		foreach ($pitches as $pitch) {
			if ($pitch->step == $step) {
				return true;
			}
		}
		return false;
	}
public static function containsStep($pitches, $step) {
		foreach ($pitches as $pitch) {
			if ($pitch->step == $step) {
				return true;
			}
		}
		return false;
	}
public static function containsStep ( $ pitches , $ step ) { foreach ( $ pitches as $ pitch ) { if ( $ pitch -> step == $ step ) { return true ; } } return false ; }
returns true if a set of pitches contains a step. Useful for figuring out if a scale
should use an enharmonic spelling.
@param  [type] $step [description]
@return [type]       [description]
returns true if a set of pitches contains a step . Useful for figuring out if a scale should use an enharmonic spelling .