Implement is_installed for DistributionRequirement
Currently DistributionRequirement
doesn't have any implementation to check if it's installed or not. We can just use the package manager to check it (just like what we did with PipRequirement
, if it doesn't have any of the package manager that we support just check if the binary executable exists