public function hasPropertyInput(
        ResourceTransformer $transformer,
        &$input,
        Field $field,
        Context $context
    ): bool {
        return array_key_exists($field->getDisplayName(), $input);
    }
public function hasPropertyInput(
        ResourceTransformer $transformer,
        &$input,
        Field $field,
        Context $context
    ): bool {
        return array_key_exists($field->getDisplayName(), $input);
    }
public function hasPropertyInput ( ResourceTransformer $ transformer , & $ input , Field $ field , Context $ context ) : bool { return array_key_exists ( $ field -> getDisplayName ( ) , $ input ) ; }
Check if input contains data.
@param ResourceTransformer $transformer
@param $input
@param Field $field
@param Context $context
@return bool
Check if input contains data .