I updated this to return a boolean since that's what it was doing before.  Also, removed the unused $isDebug parameter.