Similar to the Output property has_targets, I implemented a has_source property to Input.
has_targets
has_source