How could I know if I have depression?

Depression. Sadness, losing interest in normally-enjoyable activities, changes in appetite/sleep/energy level, lack of concentration, recurring negative thoughts.
You probably do. If you are thinking about depression you probably do have some degree of depression/ sadness. See your doctor.