This method of the Service Class indicates whether the service can be stopped.
public synchronized boolean canStop();
Returns true if the service can be stopped (that is, if getControlsAccepted returns ACCEPT_STOP); otherwise, returns false.