Added method to request class

Added exists method in Request class.