Add hasEditBasedOnCurrentPatchSet() to ChangeInfo

So far this method was contained in ChangeScreen2, but it rather
belongs to ChangeInfo. Having it in ChangeInfo makes it reusable from
other places.

Also simplify the method implementation.

Change-Id: Ib209913f14bc33bba50b6a0fda20cbf78a9c7140
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
2 files changed