How To Write A Static Method Python