protected function validated_atts( $atts ) {

		if ( ! $this->hasConfigKey( 'atts' ) ) {
			return $atts;
		}

		$atts_config = $this->getConfigKey( 'atts' );
		array_walk( $atts_config,
			function ( $att_properties, $att_label ) use ( &$atts ) {
				if ( array_key_exists( $att_label, $atts ) ) {
					$validate_function  = $att_properties['validate'];
					$atts[ $att_label ] = $validate_function( $atts[ $att_label ] );
				}
			}
		);

		return $atts;
	}