Check If Open File Is Empty Python Function Arguments