Determines if the provided version is compatible with this dependency.
string $version: The version to check, for example '4.2'.
bool TRUE if compatible with the provided version, FALSE if not.
public function isCompatible($version) { return $this->getConstraint() ->isCompatible($version); }