hasRequests() method

Returns a boolean indicating the queue has requests or doesn't.

Syntax

public boolean hasRequests ()

Returns

whether the queue has requests or it dowsn't