Update Role.php

added magic method to make comparisons easier.