Add kwarg check_pending argument to fake lock

To ensure we retain the same API for the fake lock
class make sure we have the is_writer function take
in the same kwarg as the base class.

Change-Id: Id39deeb8cc944dad05a36bd48993f11f2f11118e
Merge "Add kwarg check_pending argument to fake lock"