[NEXUS-6027] Remove deprecated isDirty() from StaticSecurityResource

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>